package com.fengmi.vo;

import lombok.*;

import java.util.List;

/**
 * @Author 123
 * @Date 2022/2/9 20:36
 * @Version 1.0
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@RequiredArgsConstructor
public class PageResultVO <T>{
    @NonNull
    private boolean success;
    @NonNull
    private String msg;

    private Integer totalPage;//总页数

    private List<T>  data; //每页数据

    private Long totalSize; // 总记录数
}
